package com.pansoft.kline.widget;

import android.text.TextPaint;
import android.text.style.UnderlineSpan;

/**
 * 没有下划线的antulink
 * @autor yqs
 * @date 2018/11/26 14:30
 **/
public class NoUnderlineSpan extends UnderlineSpan {
    @Override
    public void updateDrawState(TextPaint ds) {
        ds.setColor(ds.linkColor);
        ds.setUnderlineText(false);
    }
}
